package com.yanfan.zutai.mapper;

import com.yanfan.zutai.domain.BDeviceUpgrade;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 固件升级Mapper接口
 *
 * @author ruoyi
 * @date 2023-11-06
 */
@Service
public interface BDeviceUpgradeMapper {
    /**
     * 查询固件升级
     *
     * @param id 固件升级主键
     * @return 固件升级
     */
    BDeviceUpgrade selectBDeviceUpgradeById(Long id);

    /**
     * 查询固件升级列表
     *
     * @param bDeviceUpgrade 固件升级
     * @return 固件升级集合
     */
    List<BDeviceUpgrade> selectBDeviceUpgradeList(BDeviceUpgrade bDeviceUpgrade);

    /**
     * 新增固件升级
     *
     * @param bDeviceUpgrade 固件升级
     * @return 结果
     */
    int insertBDeviceUpgrade(BDeviceUpgrade bDeviceUpgrade);

    /**
     * 修改固件升级
     *
     * @param bDeviceUpgrade 固件升级
     * @return 结果
     */
    int updateBDeviceUpgrade(BDeviceUpgrade bDeviceUpgrade);

    /**
     * 删除固件升级
     *
     * @param id 固件升级主键
     * @return 结果
     */
    int deleteBDeviceUpgradeById(Long id);

    /**
     * 批量删除固件升级
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteBDeviceUpgradeByIds(Long[] ids);
}
